package com.eggsl.service.impl;

import com.eggsl.service.UserService;

import java.util.ArrayList;
import java.util.List;

public class UserServiceImpl implements UserService {
    public List<String> getUsers() {
        List<String> list = new ArrayList<String>();
        list.add("张三");
        list.add("李四");
        list.add("王五");
        return list;
    }

    @Override
    public String sayHello(String name) {
        System.out.println("sayHello : " + name);
        return name + ":" + "hello dubbo";
    }
}
